package com.lwj.liwanjia.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/10/3.
 */

public class JieSuanBean {

    /**
     * state : 1
     * message : null
     * data : {"shopInfo":[{"shopImage":"http://101.132.69.99/images/3.jpg","shopName":"利万嘉肉类超市","goods":[{"goodsImg":"http://101.132.69.99/images/1.jpg","nowPrice":5,"amount":2,"commodityCode":"5","commodityType":"超市","commodityName":"利万嘉羊排"}]}],"address":{"address":"浙江温州龙湾浃底村","phone":"18879135173","name":"阿衰","condigneeId":"6fa52405-ccdd-4c5c-8bfc-fad3f8e1e73e"},"sumPrice":10,"discounts":0,"freight":0,"sum":1,"orderIds":"liwanjia_1507988728020"}
     */

    private int state;
    private Object message;
    private DataBean data;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * shopInfo : [{"shopImage":"http://101.132.69.99/images/3.jpg","shopName":"利万嘉肉类超市","goods":[{"goodsImg":"http://101.132.69.99/images/1.jpg","nowPrice":5,"amount":2,"commodityCode":"5","commodityType":"超市","commodityName":"利万嘉羊排"}]}]
         * address : {"address":"浙江温州龙湾浃底村","phone":"18879135173","name":"阿衰","condigneeId":"6fa52405-ccdd-4c5c-8bfc-fad3f8e1e73e"}
         * sumPrice : 10.0
         * discounts : 0.0
         * freight : 0.0
         * sum : 1
         * orderIds : liwanjia_1507988728020
         */

        private AddressBean address;
        private double sumPrice;
        private double discounts;
        private double freight;
        private int sum;
        private String orderIds;
        private List<ShopInfoBean> shopInfo;

        public AddressBean getAddress() {
            return address;
        }

        public void setAddress(AddressBean address) {
            this.address = address;
        }

        public double getSumPrice() {
            return sumPrice;
        }

        public void setSumPrice(double sumPrice) {
            this.sumPrice = sumPrice;
        }

        public double getDiscounts() {
            return discounts;
        }

        public void setDiscounts(double discounts) {
            this.discounts = discounts;
        }

        public double getFreight() {
            return freight;
        }

        public void setFreight(double freight) {
            this.freight = freight;
        }

        public int getSum() {
            return sum;
        }

        public void setSum(int sum) {
            this.sum = sum;
        }

        public String getOrderIds() {
            return orderIds;
        }

        public void setOrderIds(String orderIds) {
            this.orderIds = orderIds;
        }

        public List<ShopInfoBean> getShopInfo() {
            return shopInfo;
        }

        public void setShopInfo(List<ShopInfoBean> shopInfo) {
            this.shopInfo = shopInfo;
        }

        public static class AddressBean implements Serializable {
            /**
             * address : 浙江温州龙湾浃底村
             * phone : 18879135173
             * name : 阿衰
             * condigneeId : 6fa52405-ccdd-4c5c-8bfc-fad3f8e1e73e
             */

            private String address;
            private String phone;
            private String name;
            private String consigneeId;

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getConsigneeId() {
                return consigneeId;
            }

            public void setCondigneeId(String consigneeId) {
                this.consigneeId = consigneeId;
            }
        }

        public static class ShopInfoBean implements Serializable {
            /**
             * shopImage : http://101.132.69.99/images/3.jpg
             * shopName : 利万嘉肉类超市
             * goods : [{"goodsImg":"http://101.132.69.99/images/1.jpg","nowPrice":5,"amount":2,"commodityCode":"5","commodityType":"超市","commodityName":"利万嘉羊排"}]
             */

            private String shopImage;
            private String shopName;
            private List<GoodsBean> goods;

            public String getShopImage() {
                return shopImage;
            }

            public void setShopImage(String shopImage) {
                this.shopImage = shopImage;
            }

            public String getShopName() {
                return shopName;
            }

            public void setShopName(String shopName) {
                this.shopName = shopName;
            }

            public List<GoodsBean> getGoods() {
                return goods;
            }

            public void setGoods(List<GoodsBean> goods) {
                this.goods = goods;
            }

            public static class GoodsBean implements Serializable {
                /**
                 * goodsImg : http://101.132.69.99/images/1.jpg
                 * nowPrice : 5.0
                 * amount : 2
                 * commodityCode : 5
                 * commodityType : 超市
                 * commodityName : 利万嘉羊排
                 */

                private String goodsImg;
                private double nowPrice;
                private int amount;
                private String commodityCode;
                private String commodityType;
                private String commodityName;
                private String goodsInfo;

                public String getGoodsInfo() {
                    return goodsInfo;
                }

                public void setGoodsInfo(String goodsInfo) {
                    this.goodsInfo = goodsInfo;
                }

                public String getGoodsImg() {
                    return goodsImg;
                }

                public void setGoodsImg(String goodsImg) {
                    this.goodsImg = goodsImg;
                }

                public double getNowPrice() {
                    return nowPrice;
                }

                public void setNowPrice(double nowPrice) {
                    this.nowPrice = nowPrice;
                }

                public int getAmount() {
                    return amount;
                }

                public void setAmount(int amount) {
                    this.amount = amount;
                }

                public String getCommodityCode() {
                    return commodityCode;
                }

                public void setCommodityCode(String commodityCode) {
                    this.commodityCode = commodityCode;
                }

                public String getCommodityType() {
                    return commodityType;
                }

                public void setCommodityType(String commodityType) {
                    this.commodityType = commodityType;
                }

                public String getCommodityName() {
                    return commodityName;
                }

                public void setCommodityName(String commodityName) {
                    this.commodityName = commodityName;
                }
            }
        }
    }
}
